import request from '@/utils/request'
//条件分页查询商品信息
export function findByPage(data) {
    return request({
      url: '/brand/findByPage',
      method: 'post',
      data
    })
  }
//添加商品
export function save(data) {
  return request({
    url: '/brand/save',
    method: 'post',
    data
  })
}  
//修改商品信息
export function update(data) {
  return request({
    url: '/brand',
    method: 'put',
    data
  })
}  
//删除商品信息
export function delBrand(data) {
  return request({
    url: `/brand/${data}`,
    method: 'delete',
  })
}  
//批量删除
export function delMore(data) {
  return request({
    url: '/brand/delMore',
    method: 'delete',
    data
  })
}  